home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
loa_and_the_island.swf
/
scripts
/
DefineSprite_310
/
frame_1
/
PlaceObject2_303_6
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2008-03-17
|
475b
|
20 lines
onClipEvent(enterFrame){
if(_root.paused == false and _root.event == 4)
{
if(_currentframe == 10 and _parent.righteye._currentframe == 10)
{
gotoAndPlay(11);
_parent.righteye.gotoAndPlay(11);
}
if(_currentframe == 20)
{
_parent._parent.health -= 25;
}
if(_currentframe == 1 and _root.lefteyehurt == true)
{
play();
_root.lefteyehurt = false;
}
}
}